OBJ = $(shell find ./ -name "*.o")

LIBPQLIB = -L$(PGHOME)/lib
LIAPQINC = -I$(PGHOME)/include

$(BIN_DIR)/$(PROM):$(OBJ)
	$(CC) $(LIBPQLIB) $(BUIARG) -lpq $^ -o $@